﻿#ifndef HAND_HEADER
#define HAND_HEADER

#include <vector>
#include "Card.h"

class Hand {
	public:
		// constructor and destructor
		Hand();
		virtual ~Hand();
		// adds a card to the hand
		void add(Card *a);
		// clears hand of all cards
		void clear();
		// get hand value
		int getTotal() const;
		//returns card from the hand
		Card* getCard(int index) const;
		//print all cards
		void printHandActual() const;
	protected:
		//Holds pointers to the cards in a hand
		std::vector<Card*> cards;
};
#endif